package com.ywk.pattern._25_mediator;

public class ConcreteColleague2 extends Colleague{
    public ConcreteColleague2(Mediator mediator) {
        super(mediator);
    }

    public void sendMessage(String message) {
        mediator.send(message, this);
    }

    public void Notify(String message) {
        System.out.println("ͬ��2�õ�����Ϣ��"+message);
    }
}
